package com.smart_campus.sys.service;

import com.smart_campus.sys.common.DataGridView;
import com.smart_campus.sys.domain.Dept;

import javax.xml.crypto.Data;

/**
 * @author Alfred
 * @date 2020/6/12 11:31
 */
public interface DeptService{


    int deleteByPrimaryKey(Integer id);

    int insert(Dept record);

    Dept insertSelective(Dept record);

    Dept selectByPrimaryKey(Integer id);

    Dept updateByPrimaryKeySelective(Dept dept);

    int updateByPrimaryKey(Dept dept);

    DataGridView queryAllDept(Dept dept);

    Integer queryDeptMaxOrderNum();

    Dept getById(Integer id);

    Integer getDeptChildrenCountById(Integer id);


    DataGridView getAllDept();
    }
